Pre-label images with a trained model
Once a model works, it can do the first pass of the labeling for you: run it on new images and keep its predictions as labels, then only correct what it got wrong. In this guide a segmentation model trained on another dataset of biscuits outlines the biscuits of new packs.
What you will learn
- How to run one of your trained models in the editor
- How to match the classes of the model to the tags of the dataset
- How to filter its predictions by confidence
- How to let it go through the images one after another
Before you start
You need a trained model, from this dataset or from another one, and a dataset with images and tags. It works in every dataset type except classification. Running a model spends the project's tokens.
1. Open the inference tool
Open an image in the editor and choose «Inference», the chip in the toolbar. «Model type» starts on the type of the dataset; «Dataset» narrows the list down to the models of one dataset.

2. Choose the model
Click «Select model», type part of its name and choose it. Any model of the project can label this dataset, even one trained on another dataset, as here.

3. Match its classes to your tags
«Class mappings» lists the classes the model learned and the tag each one becomes here. Classes with the same name as a tag match by themselves. This model learned «bizcocho», so choose «biscuit» for it. A class left on «No mapping» is ignored.

4. Run it
Click «Run inference». The predictions arrive as labels, each with how sure the model was. «Minimum Confidence» and the slider of each class leave out the weaker ones; «IOU Threshold» decides how much two predictions may overlap before one is dropped.

5. Check what it found
The «Labels» tab lists the predictions. They are ordinary labels: correct them with the usual tools, change their tag or delete them. A prediction you edit loses its confidence badge and counts as labeled by hand.

6. Let it go through the images
Go to the next image and turn on «Auto». The model labels the image on screen at once, moves on to the next one and goes on through the dataset, in the order of the editor. Turn «Auto» off to stop it; it also stops by itself after three failures in a row.
Good to know
- Which models. Only models whose training has finished and been exported appear. «Model type» and «Dataset» narrow the list down.
- Detection. A predicted box replaces a box of the same tag that it covers almost exactly, also one drawn by hand.
- Text recognition. In text recognition datasets the tool asks for a «Detection model» and a «Recognition model».
- Classification. The tool does not appear in classification datasets: use the auto classifier.
- Cost. Each image the model runs on spends the project's tokens, under inference.
Next steps
Recorded on Rosepetal release 1.8.15.